package com.lagou.edu.api.impl;


import com.lagou.edu.api.EmailServiceApi;
import com.lagou.edu.service.EmailService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;


@Service
public class EmailServiceApiImpl implements EmailServiceApi {
    @Autowired
    private EmailService emailService;


    @Override
    public Boolean send(String emailAddress, String code) {
        return emailService.send(emailAddress,code);
    }
}
